package com.example.day11_7_11_2.presenter;


import com.example.day11_7_11_2.model.MModel;
import com.example.day11_7_11_2.base.BasePresenter;
import com.example.day11_7_11_2.bean.NaviBean;

public class MPresenter extends BasePresenter {

    private MModel mModel;

    @Override
    public void initModel() {
        mModel = new MModel();
        addModel(mModel);
    }

    @Override
    public void getData() {
        mModel.getData(new CallBack<NaviBean>() {
            @Override
            public void succeed(NaviBean naviBean) {

            }

            @Override
            public void failed(String msg) {

            }
        });
    }
}
